/*
 * ServerCallbackHandler.h
 *
 *  Created on: 06/06/2011
 *      Author: wadi
 */

#ifndef SERVERCALLBACKHANDLER_H_
#define SERVERCALLBACKHANDLER_H_

#include <list>
#include "../common/model/user.h"
#include "../common/model/lesson.h"
#include "../common/model/chatmessage.h"
#include <vector>
class ServerCallbackHandler
{
public:
  ServerCallbackHandler(){};
  virtual ~ServerCallbackHandler(){};
  virtual void handleLoginRequest(User* user)=0;
  virtual void handleStartScreencast(Lesson* lesson)=0;
  virtual void handleStopScreencast(Lesson* lesson)=0;
  virtual void handleFindShowsRequest(std::list<Course*> * courses,std::list<Lesson*> * lessons)=0;
  virtual void handleScreencastAudioData(std::vector<char>data,int pts)=0;
  virtual void handleScreencastData(std::vector<char> data,int pts)=0;
  virtual void handleChatMessage(ChatMessage* user)=0;
  virtual void handleScreencastNotAvailable(Lesson* lesson)=0;

};

#endif /* SERVERCALLBACKHANDLER_H_ */
